package com.edu.mapper;

import com.edu.bean.ReceiveTable;
import com.edu.bean.TransTable;
import com.edu.bean.TransactionTable;
import org.apache.ibatis.annotations.Param;
import org.aspectj.lang.annotation.Pointcut;

import java.util.List;

/**
 * @Author:zyn
 * @Date:2025/11/18--10:48:07
 */
public interface UserMapper {
    int modifyUserMoney(@Param("userId") int userId, @Param("money") double money);

    int insertSourceReceiveTable(ReceiveTable receiveTable);

    int insertSourceTransTable(TransTable transTable);

    int insertSourceTransactionTable(TransactionTable transactionTable);

    List<ReceiveTable> selectReceiveRecord(int userId);

    List<TransTable> selectTransRecord(int userId);

    List<TransactionTable> selectTransactionRecord(int userId);
}
